﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PersonaLibrary.PrintReports;
using PersonaLibrary.PrintViewModel.Model;

namespace PersonaLibrary.ViewModel.PrintViewModel
{
	internal class StickersProperty : PrintChildVM<View.PrintView.StickersProperty>, ITemplateProperties
	{
		private RelayCommand _applyProperty;
		
		public List<ReportItemParent> Rows { set; get; }
		
		public RelayCommand ApplyProperty 
		{ 
			get
			{
				if (_applyProperty == null)
					_applyProperty = new RelayCommand(x => ProperiesApply(), x => true);
				return _applyProperty;
			}
		}

		public event Action ProperiesApply = delegate { };
	}
}
